local UI = SecretaryUI

local function CreateTitle(parent)
	local title = CreateFrame("Frame", nil, parent)
	local text = title:CreateFontString(nil, "ARTWORK")
	title.text = text
	
	text:SetJustifyH("CENTER")
	text:SetJustifyV("TOP")
	text:SetFontObject(GameFontNormalLarge)
	text:SetAllPoints()
	
	return title
end

UI.CreateTitle = CreateTitle
